package com.deltapunkt.proxy.main;

import java.io.UnsupportedEncodingException;

public class PreTest {
	
	public static void testEncoding(){
		testEncoding("ASCII7");
	}
	
	public static void testEncoding(String encoding){
		try {
			new String(new byte[1], encoding);
		} catch (UnsupportedEncodingException e) {
			throw new RuntimeException(String.format("Problem with the JAVA environment! %s encoding not supported!", encoding));
		}
	}
}
